From: Lisandro Damián Nicanor Pérez Meyer Date: Sun, 20 Sep 2026 14:12:22 +0000 (+0200) Subject: Enable skipping plugins search at build time. X-Git-Tag: archive/raspbian/6.11.2+dfsg-5+rpi1^2~1 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=36f7561f32032c0bb9b7aa9bed82dc9f3c674cf0;p=qt6-base.git Enable skipping plugins search at build time. Forwarded: not-needed This patch sets QT_SKIP_AUTO_PLUGIN_INCLUSION and QT_SKIP_AUTO_QML_PLUGIN_INCLUSION to ON by default, thus avoiding unnecesary build dependencies on plugins. The variables can still be set to OFF by the user at build time, allowing them to find the packages if necessary. But if you need so for a Debian package please reach the Qt maintainers first. We want to know why you need to do so. Thanks in advance! Gbp-Pq: Name enable_skip_plugins.patch --- diff --git a/cmake/QtPlugins.cmake.in b/cmake/QtPlugins.cmake.in index a6ca60bbd..e45e88dd8 100644 --- a/cmake/QtPlugins.cmake.in +++ b/cmake/QtPlugins.cmake.in @@ -6,7 +6,7 @@ include_guard(DIRECTORY) # Distributions should probably change this default. if(NOT DEFINED QT_SKIP_AUTO_PLUGIN_INCLUSION) - set(QT_SKIP_AUTO_PLUGIN_INCLUSION OFF) + set(QT_SKIP_AUTO_PLUGIN_INCLUSION ON) endif() if(__qt_@QT_MODULE@_targets_file_included AND NOT QT_SKIP_AUTO_PLUGIN_INCLUSION) diff --git a/cmake/QtPublicPluginHelpers.cmake b/cmake/QtPublicPluginHelpers.cmake index 749e40e3f..912808814 100644 --- a/cmake/QtPublicPluginHelpers.cmake +++ b/cmake/QtPublicPluginHelpers.cmake @@ -607,7 +607,7 @@ macro(__qt_internal_include_qml_plugin_packages) # Distributions should probably change this default. if(NOT DEFINED QT_SKIP_AUTO_QML_PLUGIN_INCLUSION) - set(QT_SKIP_AUTO_QML_PLUGIN_INCLUSION OFF) + set(QT_SKIP_AUTO_QML_PLUGIN_INCLUSION ON) endif() set(__qt_qml_plugins_config_file_list "")